package com.example.hblog.module.dao;

import com.example.hblog.module.pojo.Blog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BlogDao {
    void addBlog(Blog blog);
    List<Blog> allBlog();
    Blog showBlog(String id);
    List<Blog> searchBlog(String title);
    void editorBlog(Blog blog);
    void deleteBlog(String id);
}
